package com.example.ziru.mapper;

import com.example.ziru.entity.ConsultSee;
import com.example.ziru.entity.Tenant;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
public interface ConsultSeeMapper {
    @Insert("insert IGNORE into consultsee(id,roomId,uid, seeTime,seePhone) values(#{id},#{roomId},#{uid},#{seeTime},#{seePhone})")
    @Options(useGeneratedKeys=true, keyProperty="id", keyColumn="id")
    int addConsult(ConsultSee consultSee);
}
